<?php
/**
 * Created by PhpStorm.
 * User: andy
 * Date: 16/3/31
 * Time: 18:20
 */
require_once dirname(__FILE__) . '/class/facepp.php';


class Facepp_Lite extends Facepp {
    /**
     * @param string $config ['api_key'] 用户
     * @param string $config ['api_secret']  密码
     */
    public function __construct($config = NULL) {

        if ($config === NULL) {
            $config = DI()->config->get('app.Facepp');
        }
        $this->api_key = $config['api_key'];
        $this->api_secret = $config['api_secret'];

    }
}